/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package POJO;

/**
 *
 * @author Messi
 */
public class ChiTietSanPhamPOJO {
    private int maChiTietSanPham;
    private int maSanPham;
    private int maNhaSanXuat;
    private float giaBan;
    private int soLuong;
    private int maDanhMuc;
    private String hinhAnh;
    
    public ChiTietSanPhamPOJO(int maChiTietSanPham,int maSanPham ,int maNhaSanXuat, float giaBan,int soLuong ,int maDanhMuc ,String hinhAnh)
    {
        this.maChiTietSanPham = maChiTietSanPham;
        this.maSanPham = maSanPham;
        this.maNhaSanXuat = maNhaSanXuat;
        this.giaBan = giaBan;
        this.soLuong = soLuong;
        this.maDanhMuc = maDanhMuc;
        this.hinhAnh = hinhAnh ;
    }
    public ChiTietSanPhamPOJO(ChiTietSanPhamPOJO ct)
    {
        this.maChiTietSanPham = ct.maChiTietSanPham;
        this.maSanPham = ct.maSanPham;
        this.maNhaSanXuat = maNhaSanXuat;
        this.giaBan = giaBan;
        this.soLuong = ct.soLuong;
        this.maDanhMuc = maDanhMuc;
        this.hinhAnh = hinhAnh ;
    }

    public float getGiaBan() {
        return giaBan;
    }

    public void setGiaBan(float giaBan) {
        this.giaBan = giaBan;
    }

    public String getHinhAnh() {
        return hinhAnh;
    }

    public void setHinhAnh(String hinhAnh) {
        this.hinhAnh = hinhAnh;
    }

    public int getMaChiTietSanPham() {
        return maChiTietSanPham;
    }

    public void setMaChiTietSanPham(int maChiTietSanPham) {
        this.maChiTietSanPham = maChiTietSanPham;
    }

    public int getMaDanhMuc() {
        return maDanhMuc;
    }

    public void setMaDanhMuc(int maDanhMuc) {
        this.maDanhMuc = maDanhMuc;
    }

    public int getMaNhaSanXuat() {
        return maNhaSanXuat;
    }

    public void setMaNhaSanXuat(int maNhaSanXuat) {
        this.maNhaSanXuat = maNhaSanXuat;
    }

    public int getMaSanPham() {
        return maSanPham;
    }

    public void setMaSanPham(int maSanPham) {
        this.maSanPham = maSanPham;
    }

    public int getSoLuong() {
        return soLuong;
    }

    public void setSoLuong(int soLuong) {
        this.soLuong = soLuong;
    }
    
}
